
def user_info(name,age,gender):
    print(name,age,gender)

# 可以按次序依次传输
user_info("gaoyang",21,2)

# 按关键字传参
user_info(name="zhangsan",age=21,gender=2)

# 无序传入
user_info(age=21,gender=2,name="zhangsan")

# 也可以混用
user_info("zhangsan",age=21,gender=2)